<?php


namespace Xy\Rbac\Models;



use Xy\Rbac\ModelTools\BaseModel;

class RbacUserRoleModel extends BaseModel
{
    protected $dateFormat = 'Y-m-d H:i:s';
    protected $fillable   = ['user_id', 'role_id'];
    
    public function role() {
        return $this->belongsTo(RbacRoleModel::class, 'role_id');
    }
}